<template>
	<div class="floors">
		<div class="floors-title">
			
		</div>
		<div class="floors-content">
			<div v-for="item of floor" :key="item.goodsId">
				<van-image :src="filterImageUrl(item.image)" />
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		props: {
			floor: {
				type: Array,
				required: true
			}
		}
	}
</script>

<style lang="scss" scoped>
	.floors-content{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-template-rows: repeat(3,1fr);
		div:first-child{
			grid-row-start: 1;
			grid-row-end: 3;
		}
	}
</style>
